class CreateProfiles < ActiveRecord::Migration
  def self.up
    create_table :profiles do |t|
      t.column :user_id, :integer
      t.column :firstname, :string
      t.column :lastname, :string
      t.column :msn, :string
      t.column :aim, :string
      t.column :icq, :string
      t.column :yahoo, :string
      t.column :website, :string
      t.column :location, :string
      t.column :occupation, :string
      t.column :signiture, :text
      # perferences
      t.column :show_email, :boolean
      t.column :hide_status, :boolean
      # notify user with replies to topics
      t.column :notify, :boolean
    end
  end

  def self.down
    drop_table :profiles
  end
end
